module.exports = app => {
  const { STRING, INTEGER, DATE } = app.Sequelize;

  const User = app.model.define('postures', {
    p_id: INTEGER,
    // create_time: DATE,
    top: STRING(45),
    neck: STRING(45),
    ankle_r: STRING(45),
    knee_r: STRING(45),
    hip_r: STRING(45),
    ankle_l: STRING(45),
    knee_l: STRING(45),
    hip_l: STRING(45),
    wrist_l: STRING(45),
    elbow_l: STRING(45),
    shoulder_l: STRING(45),
    wrist_r: STRING(45),
    elbow_r: STRING(45),
    shoulder_r: STRING(45),
  });

  return User;
};